package com.changan.service;

import com.aliyuncs.exceptions.ClientException;
import com.changan.response.Result;
import org.springframework.web.multipart.MultipartFile;

public interface OssService {
    void createBucket(String bucketName) throws ClientException;

    void deleteBucket(String bucketName);

    String uploadFile(MultipartFile file);

    void downloadFile(String url);

    void deleteFile(String url);

    Result listFile();
}
